package com.yun.zf.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yun.zf.common.admin.dto.customer.CustomerBasicInfo;
import com.yun.zf.common.admin.dto.customer.CustomerListDto;
import com.yun.zf.common.admin.model.customer.CustomerBasicMo;
import com.yun.zf.common.app.domain.ZfCustomer;

import java.util.List;

/**
 * <p>
 * 客户资源表 服务类
 * </p>
 *
 * @author cj
 * @since 2021-03-30
 */
public interface ZfCustomerService extends IService<ZfCustomer> {

    public  int addCustomer(CustomerBasicMo basicMo, int  agentNo,Long proCode, Long cityCode );

    public int motifyCustomer(CustomerBasicMo basicMo, int  agentNo,Long proCode, Long cityCode  );

    public ZfCustomer getCustomerInfo(Long proCode, Long cityCode, Long customerId);

    public CustomerBasicMo getBasicInfo(Long proCode, Long cityCode, Long customerId);

    public String  getPhone(Long proCode, Long cityCode, Long customerId);

    /**
     * 创建订单查询客户信息
     * @param proCode
     * @param cityCode
     * @param customerId
     * @return
     */
    CustomerBasicInfo getPactCustomer(Long proCode, Long cityCode, Long customerId);

    List<CustomerListDto> getSearchList(Long proCode, Long cityCode,List<Long> ids);


}
